﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using PilotProject.Validation;

namespace PilotProject
{ 
    public class AddressMeta
    {
   
        [Required(ErrorMessage = "Please enter your street name & number")]
        [Display(Description = "The street name where the person live", Name = "Street 1")]
        public String Street1 { get; set; }
        [Display(Name = "Street 2")]
        public String Street2 { get; set; }

        [Display(Description = "Candidate's Suburb", Name = "Suburb")]
        [ValidGuid()]
        public Guid SuburbId { get; set; }
    }
}
